#
# _helper.py
#
# All copyrights (C) reserved. 2020 -
# shenyc (shenyczz@163.com)
# -------------------------------------------------------------------------------
# 功能: 使用本地库 packages
# 用法:
# - import _helper
# - 会自动运行下面代码, py + jupyter 均可使用
# -------------------------------------------------------------------------------
#
import sys

ROOT = "d:\\sfxCode\\py\\sfx-py-library"
try:
    index = sys.path.index(ROOT)
    print(index)
except Exception as e:
    # print(e)
    sys.path.append(ROOT)
    print(f"添加自定义库路径: {ROOT}")
finally:
    pass
#
# END OF FILE
# -------------------------------------------------------------------------------
#
